﻿using SqlSugar;
using System;

namespace Configuration.ServerApi.Entity
{
    /// <summary>
    /// 实验流程配置表-电化学测试仪器
    /// </summary>
    [SugarTable("bis_expconfig_electrochemistrytesting")]
    public class bis_expconfig_electrochemistrytesting
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 关联实验ID
        /// </summary>
        public string ExpId { get; set; }

        /// <summary>
        /// 关联实验名称
        /// </summary>
        public string ExpName { get; set; }

        /// <summary>
        /// 关联节点ID
        /// </summary>
        public string NodeId { get; set; }

        /// <summary>
        /// 工作时长 (分)
        /// </summary>
        public int? WorkingHours { get; set; } = 0;

        /// <summary>
        /// 排序号
        /// </summary>
        public int? Sort { get; set; } = 0;

        /// <summary>
        /// 选择运行的实验ID
        /// </summary>
        public string SelExpId { get; set; }

        /// <summary>
        /// 选择运行的实验名称
        /// </summary>
        public string SelExpName { get; set; }

        /// <summary>
        /// 每点时间
        /// </summary>
        public decimal? TimePerPoint { get; set; } = 0;

        /// <summary>
        /// 实验持续时间
        /// </summary>
        public decimal? ContinueTime { get; set; } = 0;

        /// <summary>
        /// 是否使用初始电位  使用为1 不使用为0
        /// </summary>
        public int? IsUseInitialPotential { get; set; } = 0;

        /// <summary>
        /// 最初或阶跃电位(V)
        /// </summary>
        public decimal? InitialPotential { get; set; } = 0;

        /// <summary>
        /// 最初或阶跃电位参考类型  VSRef设置0 VSOC设置1
        /// </summary>
        public int? InitialPotentialVSType { get; set; } = 0;

        /// <summary>
        /// 顶点电位1(V)
        /// </summary>
        public decimal? TopPotential1 { get; set; } = 0;

        /// <summary>
        /// 顶点电位1参考类型  VSRef设置0 VSOC设置1
        /// </summary>
        public int? TopPotential1VSType { get; set; } = 0;

        /// <summary>
        /// 顶点电位2(V)
        /// </summary>
        public decimal? TopPotential2 { get; set; } = 0;

        /// <summary>
        /// 顶点电位2参考类型  VSRef设置0 VSOC设置1
        /// </summary>
        public int? TopPotential2VSType { get; set; } = 0;

        /// <summary>
        /// 是否使用最终电位  使用为1 不使用为0
        /// </summary>
        public int? IsUseFinallyPotential { get; set; } = 0;

        /// <summary>
        /// 最终电位(V)
        /// </summary>
        public decimal? FinallyPotential { get; set; } = 0;

        /// <summary>
        /// 最终电位参考类型  VSRef设置0 VSOC设置1
        /// </summary>
        public int? FinallyPotentialVSType { get; set; } = 0;

        /// <summary>
        /// 电压是否自动量程  自动设置1 非自动设置0
        /// </summary>
        public int? IsVoltageRandAuto { get; set; } = 0;

        /// <summary>
        /// 电压量程(mV)
        /// </summary>
        public decimal? VoltageRand { get; set; } = 0;

        /// <summary>
        /// 电流是否自动量程  自动设置1 非自动设置0
        /// </summary>
        public int? IsCurrentRandAuto { get; set; } = 0;

        /// <summary>
        /// 电流量程(mA)
        /// </summary>
        public decimal? CurrentRand { get; set; } = 0;

        /// <summary>
        /// 控制电压EIS: 1 true 控制电流EIS: 0 false
        /// </summary>
        public int? IsVolEIS { get; set; } = 0;

        /// <summary>
        /// 电位或直流输出(V)
        /// </summary>
        public decimal? Voltage { get; set; } = 0;

        /// <summary>
        /// 电位参考类型  VSRef设置0 VSOC设置1
        /// </summary>
        public int? VoltageVSType { get; set; } = 0;

        /// <summary>
        /// 扫描速率(V/s)
        /// </summary>
        public decimal? ScanRate { get; set; } = 0;

        /// <summary>
        /// 循环次数
        /// </summary>
        public decimal? CycleCount { get; set; } = 0;

        /// <summary>
        /// 阶跃高度(mV)
        /// </summary>
        public decimal? StepHeight { get; set; } = 0;

        /// <summary>
        /// 阶跃时间(s)
        /// </summary>
        public decimal? StepTime { get; set; } = 0;

        /// <summary>
        /// 阶跃电流(mA)
        /// </summary>
        public decimal? Current { get; set; } = 0;

        /// <summary>
        /// 开始频率(Hz)
        /// </summary>
        public decimal? StartFreq { get; set; } = 0;

        /// <summary>
        /// 结束频率(Hz)
        /// </summary>
        public decimal? EndFreq { get; set; } = 0;

        /// <summary>
        /// 振幅 (mA)
        /// </summary>
        public decimal? Amplitude { get; set; } = 0;

        /// <summary>
        /// 点间距 只有0和1  0代表线形 1代表对数
        /// </summary>
        public int? IntervalType { get; set; } = 0;

        /// <summary>
        /// 每十进间距点数  默认10
        /// </summary>
        public int? PointCount { get; set; } = 0;

        /// <summary>
        /// 备注信息
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public string CreateUser { get; set; }

        /// <summary>
        /// 创建人姓名
        /// </summary>
        public string CreateUserName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 最后更新人ID
        /// </summary>
        public string UpdateUser { get; set; }

        /// <summary>
        /// 最后更新人姓名
        /// </summary>
        public string UpdateUserName { get; set; }

        /// <summary>
        /// 最后更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 是否删除  0: 未删除 1: 已删除
        /// </summary>
        public int? Del_Flag { get; set; } = 0;

    }
}
